package com.shensi.appCollect.service;


import com.shensi.appCollect.pojo.AppUserInfo;
import com.shensi.api.admin.domian.integral.dto.CustomerPointsRecord;
import com.shensi.appCollect.pojo.Station;

import java.util.List;

public interface CustomerPointsRecordService {

    //获取用户积分信息
    List<CustomerPointsRecord> getCustomerPointsRecordList(CustomerPointsRecord customerPointsRecord);

    //插入用户积分信息
    void insertCustomerPointsRecordInfo(CustomerPointsRecord customerPointsRecord);

    //获取用户积分记录
    List<CustomerPointsRecord> getUserIntegralDetailList(CustomerPointsRecord customerPointsRecord);

    //pos机会员积分调整
    //type 调整类型  points 积分  stationId 油站ID keywords 会员码
    CustomerPointsRecord updateIntegral(Integer type, Integer points, Station station, AppUserInfo userInfo, Integer oidPoints);

    CustomerPointsRecord getOne(CustomerPointsRecord customerPointsRecord);

    void sendwxgzh(Integer stationId,String mobilePhone,Integer integral,Integer totalIntegral,String usageType);

}
